package service;

import po.*;

import java.util.List;

public interface SegmentStrategyService {
    public List<SegmentStrategy> findAllSegmentStrategies() throws Exception;
    public List<SegmentStrategyCustom> findAllSegmentStrategyCustom() throws Exception;
    public Result addSegmentStrategy(SegmentStrategy segmentStrategy);
    public Result deleteSegmentStrategyById(int id);
    Result updateSegmentStrategyById(int id, SegmentStrategy segmentStrategy);
    public Result addSegment(Segment segment);
    public Result deleteSegment(Segment segment);
    public List<ComboboxItem> findSegmentStrategyForComb() throws Exception;
}
